package com.studentmanage.manage_student.client;

import com.studentmanage.framework.domain.base.Clas;
import com.studentmanage.framework.domain.common.response.ResponseResult;
import com.studentmanage.framework.domain.common.response.ResponseValue;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "SM-SERVICE-MANAGE-CLASS")
public interface ClassClient {
    @GetMapping("/class/get/{id}")
    public ResponseValue<Clas> findByCollegeId(@PathVariable("id") String id);
    @PostMapping("/class/edit")
    public ResponseResult updateClass(@RequestBody Clas clas);
}
